<script>
export default {
  data() {
    return {}
  },
  methods:{
    ssqInit(){
      if (window?.ssq){
        ssq.push('onReady', () => {
          // ssq.push('sendTextMessage', ``);
        });
      }

      
    }
  },
  mounted() {
    const queryString = window.location.search;
    const urlParams = new URLSearchParams(queryString);
    const code = urlParams.get('code');
    this.$store.dispatch('user/setcode', code)
    this.ssqInit()

  }
}
</script>
<template>
  <router-view/>
</template>
<style>
body{
}
</style>
